# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Combobox)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Combobox_SRCS comboPlugin.cpp)
QT4_WRAP_CPP(Combobox_SRCS comboPlugin.h)

add_library(Combobox SHARED ${Combobox_SRCS})
add_dependencies(Combobox KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Combobox KontAMabil ${QT_LIBRARIES})

install(TARGETS Combobox DESTINATION "${QT_PLUGINS_DIR}/designer" LIBRARY)
install(TARGETS Combobox ${INSTALL_DESIGNER_PLUGINS_DEFAULT_ARGS} )

